home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C07 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.4 KB  |  63 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C07
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Use.exe \
  25.     Stash3Test.exe \
  26.     UnionClass.exe \
  27.     SuperVar.exe 
  28.  
  29. test: all 
  30.     Use.exe  
  31.     Stash3Test.exe  
  32.     UnionClass.exe  
  33.     SuperVar.exe  
  34.  
  35. bugs: \
  36.     MemTest.exe 
  37.  
  38. Use.exe: Use.obj Def.obj 
  39.     $(CPP) $(OFLAG)Use.exe Use.obj Def.obj 
  40.  
  41. Stash3Test.exe: Stash3Test.obj Stash3.obj 
  42.     $(CPP) $(OFLAG)Stash3Test.exe Stash3Test.obj Stash3.obj 
  43.  
  44. UnionClass.exe: UnionClass.obj 
  45.     $(CPP) $(OFLAG)UnionClass.exe UnionClass.obj 
  46.  
  47. SuperVar.exe: SuperVar.obj 
  48.     $(CPP) $(OFLAG)SuperVar.exe SuperVar.obj 
  49.  
  50. MemTest.exe: MemTest.obj Mem.obj 
  51.     $(CPP) $(OFLAG)MemTest.exe MemTest.obj Mem.obj 
  52.  
  53.  
  54. Def.obj: Def.cpp 
  55. Use.obj: Use.cpp 
  56. Stash3.obj: Stash3.cpp Stash3.h 
  57. Stash3Test.obj: Stash3Test.cpp Stash3.h ..\require.h 
  58. UnionClass.obj: UnionClass.cpp 
  59. SuperVar.obj: SuperVar.cpp 
  60. Mem.obj: Mem.cpp Mem.h 
  61. MemTest.obj: MemTest.cpp Mem.h 
  62.  
  63.